package com.uzai.console.mapper;

import com.uzai.console.entity.RiskLevel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liuyanyan
 */
@Repository
public interface RiskLevelMapper {

    RiskLevel selectByScore(@Param("score") Integer score);

    List<RiskLevel> selectAll();

    RiskLevel selectById(@Param("id") Long id);

}